package cn.tom.entity;

import lombok.Data;

@Data
public class Orditem {
    private Integer itemid;
    private Order order;
    private Book book;
    //    private Integer ordid;
    //    private Integer bookid;
    private Integer num;
    private Double price;


    public Orditem() {
        this.itemid = 0;
        this.order = new Order();
        this.book = new Book();
        this.num = 0;
        this.price = 0.0;
    }

}
